Skip to content

Ingest Slack native table blocks - #36

Open
fineas-bot[bot] wants to merge 1 commit into
mainfrom
codex/slack-native-table-ingest
Open

Ingest Slack native table blocks#36
fineas-bot[bot] wants to merge 1 commit into
mainfrom
codex/slack-native-table-ingest

Conversation

@fineas-bot

@fineas-bot fineas-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • Convert Slack native table blocks in message attachments into markdown-style text before sending thread context to the session API.
  • Apply the conversion to both live webhook messages and conversations.replies thread refreshes.
  • Extend the Slackbot v2 emulator with raw attachment injection and add regression coverage for current-message and historical-thread native tables.

Tests

  • bun test test/chat-sdk-emulate.test.ts -t "native Slack table"
  • bun test test/chat-sdk-emulate.test.ts
  • bun tsgo --project tsconfig.json --noEmit

@fineas-bot
fineas-bot Bot force-pushed the codex/slack-native-table-ingest branch from 9ea4e8b to af2a96a Compare June 18, 2026 23:02
@fineas-bot
fineas-bot Bot force-pushed the codex/slack-native-table-ingest branch from af2a96a to 93645eb Compare June 18, 2026 23:03
}

function markdownTableCell(text: string): string {
return text.replace(/\|/g, '\\|').replace(/\n/g, ' ').trim()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant